import { RouteRecordRaw} from "vue-router";

export const DataManagerRoute : RouteRecordRaw = {
    path: "/data",
    name: "data-manager",
    component: () => import("../views/data-manager/index.vue"),
    children: [
      {
        path: "/images",
        name: "browse-images",
        component: () => import("@/components/data-manager/ImagesBrowser/index.vue"),
        meta: {
          keepAlive: true
        }
      },
      {
        path: "/images/statistics",
        name: "statistics-images",
        component: () => import("@/components/data-manager/ImagesStatistics.vue")
      },
      {
        path: "/manage/image",
        name: "manage-images",
        component: () => import("@/components/data-manager/ImagesManager.vue")
      },
      {
        path: "/manage/tag",
        name: "manage-tag",
        component: () => import("@/components/data-manager/TagsManager.vue")
      },
      {
        path: "/manage/category",
        name: "manage-category",
        component: () => import("@/components/data-manager/CategoryManager.vue"),
      }
    ]
  }